Ubuntu Gnome桌面环境下截屏命令

今天在ubuntu下截屏的时候才发现截屏的命令又忘了,索性就把这些命令记到博客里吧,以后用的时候也不用到处搜,到处找了,这个截屏命令还是很方面的,感觉很酷,这个是gnome环境下的截屏命令,也就是Ubuntu默认的桌面环境下的截屏命令,如果你安装了其他桌面环境比如gtk、xface之类的下面的内容就对你不适合了

1
2
3
4
gnome-screenshot -a
//是局部截图,自己选择区域
gnome-screenshot -w
//全屏截图,相当于快捷键print screen。

下面是常用的截屏命令。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
gnome-screenshot

gnome-screenshot -help
Usage: gnome-screenshot [OPTION...] Take a picture of the screen
Help Options:
-h, --help                    Show help options
--help-all                    Show all help options
--help-gtk                    Show GTK+ Options

Application Options:
-w, --window                  Grab a window instead of the entire screen
-a, --area                    Grab an area of the screen instead of the entire screen
-b, --include-border          Include the window border with the screenshot
-B, --remove-border            Remove the window border from the screenshot
-d, --delay=seconds            Take screenshot after specified delay [in seconds]
-e, --border-effect=effect    Effect to add to the border (shadow, border or none)
-i, --interactive              Interactively set options
--display=DISPLAY              X display to use